package com.scada.dao;

import java.util.List;
import java.util.Map;

import com.scada.model.bean.MemberCustType;
import com.scada.model.bean.MemberInfo;
import com.scada.model.bean.MemberIntentionSer;
import com.scada.model.bean.vo.IntentionServiceNameVO;
import com.scada.model.bean.vo.MemberInfoVO;
import com.scada.model.dataTable.ChooseMemberList;
import com.scada.model.dataTable.MemberInfoList;

public interface IMemberInfoDao {
    
	
	public int deleteMemberInfoById(Map<String,Object> map);

	public void insertMemberInfo(MemberInfo memberInfo);

	public MemberInfoVO getMemberInfoById(Long id);

	public void updateMemberInfo(MemberInfo memberInfo);
	
	public Integer getMemberInfoPageCount(Map<String,Object> map);
	
	public List<MemberInfoList> getMemberInfoPageList(Map<String,Object> map);
	
	public Integer getSelectMemberCount(Map<String,Object> map);
	
	public List<ChooseMemberList> getSelectMemberList(Map<String,Object> map);
	
	public void insertMemberIntentionSer(List<MemberIntentionSer> list);
	
	public void deleteMemberIntentionSerByMemberId(Long memberId);
	
	public String getMemberIntentionSerByMemberId(Long memberId);
	
	public MemberInfoVO getMemberInfoDetail(Long id);
	
	public IntentionServiceNameVO getIntentionSerNameByMemberId(Long memberId);
	
	public void insertMemberCustType(List<MemberCustType> list);
	
	public void deleteMemberCustTypeByMemberId(Long memberId);
	
	public String getMemberCustTypeByMemberId(Long memberId);
	
	public String getMemberCustTypeName(Long memberId);
	
	public Integer validateMemberRepeat(Map<String,Object> map);
	
	public void updateReturnTime(Map<String,Object> map);
}